﻿using log4net;
using Quartz;
using System.Threading.Tasks;

namespace NiuBeService.Jobs
{
    [DisallowConcurrentExecution]
    class DoJob : IJob
    {
        private readonly ILog _logger = LogManager.GetLogger(nameof(DoJob));

        async Task IJob.Execute(IJobExecutionContext context)
        {
            _logger.Info("my name is dojob, i am runing..");

            await Task.CompletedTask;
        }
    }
}
